# !/usr/bin/env python
# -*- coding: utf-8 -*-


class BaseException(Exception):
    """Base class for exceptions in this module."""

    def __init__(self, message, *args, **kwargs):
        self.message = message
        super(BaseException, self).__init__(self.message, *args, **kwargs)

    def __str__(self):
        return self.message


class PluginError(BaseException):
    pass


class PluginNotFound(PluginError):
    pass


class PluginNotLoaded(PluginError):
    pass


class PluginAlreadyLoaded(PluginError):
    pass
